/**  
 * @Title: OrderMapper.java  
 * @Package com.blog4java.mybatis.example.mapper  
 * @Description: TODO(用一句话描述该文件做什么)  
 * @author suyuhao  
 * @date 2025-06-06 11:31:43   
 */
package com.blog4java.mybatis.example.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.blog4java.mybatis.example.entity.Order;

public interface OrderMapper {
	
	List<Order> listOrdersByUserId(@Param("userId") Long userId);
	
	Order getOrderByNo(@Param("orderNo") String orderNo);
	
	Order getOrderByNoWithJoin(@Param("orderNo") String orderNo);
}
